//File Name:oplib.h
//Function:Provide main.c with nessary and important function for
//Operating the whole progress such as:
//<1>result output	<2>search for flie dir
#ifndef _OPLIB_H_
#define _OPLIB_H_

#include <stdio.h>
#include <string.h>
extern const char* FileType[2];
extern const char* Oprand[2];
int OpndChk(const char* _argv_,const char* Opnd,int* limparam,int argvNum);
void ResDisp(const char* prefix,const int* result);
void ErrDisp(const char* ErrorHint);
void WordChk(const char* charFromFile,int* result);
int PuctChk(const char* charFromFile); 
void InitCntNum(int* Char,int* Word,int* Sentence,int* LineCnt);
void HintDisp(const char* hint);
void LineChk(const char* charFromFile,int* result);
int FileTypeChk(const char* _argv_,const char* FileType);
#endif
